package com.alipay.rebate.shop.constants;

public enum StatusCode {

    SUCCESS(2001),
    PHONE_NOT_BIND(2002),
    PARAMETER_CHECK_ERROR(4000),
    INTERNAL_ERROR(5000),
    TOKEN_NOT_VALID(5001),
    TOKEN_EXPIRE(5002),
    TOKEN_PHONE_NOT_RIGHT(5003),
    TOKEN_ID_NOT_RIGHT(5004),
    USER_ALREADY_EXISTS(5005),
    MOBILE_CODE_NOT_RIGHT(5006),
    MOBILE_CODE_SEND_ERROR(5007),
    RELATION_SPECIAL_ID_GENERATE_FAILED(5008),
    PHONE_NOT_EXISTS(5009),
    USER_NOT_EXISTS(5010),
    USER_PASSWORD_NOT_RIGHT(5011),
    WECHAT_FIRST_LOGIN(5012),
    ALIPAY_ACCOUNT_NOT_BIND(5013),
    AMOUNT_NOT_ENOUGTH(5014),
    UIT_NOT_ENOUGTH(5015),
    RELATION_ID_SHOULD_NOT_NULL(5016),
    TAOBAO_USER_ID_SHOULD_NOT_NULL(5017),
    TAOBAO_USER_NAME_SHOULD_NOT_NULL(5018),
    ACCESS_TOKEN_SHOULE_NOT_NULL(5019),
    PRIVILEGE_LINK_GENERATE_FAIL(5020),
    TPWD_GENERATE_FAIL(5021),
    REDIS_CONNECT_FAIL(5022),
    MYSQL_CONNNECT_FAIL(5023),
    PRODUCT_PAGE_FRAMEWORK_NOT_EXISTS(5024),
    API_CALL_EXCEPTION(5025),
    SPECIAL_ID_SHOULD_NOT_NULL(5026),
    REPEAT_BIND_TAOBAO_ACCOUNT(5027),
    BIND_PARENT_USER_ERROR(5028),
    USER_IN_BLACK_LIST(5029),
    AVTIVITY_ERROR(5030),
    PRODUCT_REPO_NOTEXISTS(5031),
    SIGN_IN_ERROR(5032),
    BROWSE_AWARD_ERROR(5033),
    MUTIL_LOGIN(5034),
    TASK_TIMES_REACHED(5035),
    Lottery_TIMES_REACHED(5036),
    LUCKY_MONEY_COUPON_ERROR(5036),
    WITH_DRAW_ERROR(5037),
    TAOBAO_AUTH_CHANGE(5038),
    WEIXIN_AUTH_FAIL(5039),
    UIT_AM_NOT_ENOUGTH_WITHDRAW(5040),
    TOKEN_NULL(5041),
    ALIPAY_ACCOUNT_AUTH_FAIL(5042),
    PHONE_HASH_BIND(5043);

    int code;

    StatusCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
